package sv.gob.mh.dgii.service.rc;

import java.util.List;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sv.gob.mh.dgii.dao.hibernate.Dao;
import sv.gob.mh.dgii.dao.rc.RcSocioDao;
import sv.gob.mh.dgii.model.RcSocio;
import sv.gob.mh.dgii.service.BaseService;

@Service
public class RcSocioServiceImpl extends BaseService implements RcSocioService {

    @Autowired
    private RcSocioDao rcSocioDao;

    @Override
    public Dao getDao() {
        return rcSocioDao;
    }

    @Override
    public List<RcSocio> obtenerSocios(String nit) {
        return rcSocioDao.obtenerSocios(nit);
    }
}